package com.dsbj.it.DingTalkBotStarter.controller;

import com.dsbj.it.DingTalkBotStarter.service.SimImportService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@AllArgsConstructor
public class SimImportController {

    private final SimImportService simImportService;

    @GetMapping("/api/v1/sim/import")
    public void simImport(){
        simImportService.simImportBatch();
    }
}
